home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / ARCHIVERS / BEGINNER / TARZ / !tarZ / !run < prev    next >
Text File  |  1999-04-24  |  3KB  |  76 lines

  1. | !tarZ : a simple archiver-enviroment 
  2. | produces obeyfiles with settypes and correct names.
  3. | Calls tar and Compress for a unixcompatible compressed tar-file.
  4. |
  5. | Hope it will run under all Versions of Risc-OS
  6. |
  7. | If you have enough memory, try to start !tarZ from ramdisc, cause there
  8. | it's faster
  9. |
  10. rmensure FPEmulator     0.00 error 0 FPEmulator      must be loaded for Gawk
  11. rmensure SharedCLibrary 0.00 error 0 SharedCLibrary  must be loaded for Gawk
  12. unset tarZ$use 
  13. if "%0"="" then set tarZ$use adfs:$ else set tarZ$use %0
  14. echo <28><0><24><79><0><12>
  15. echo simple scriptprogram to archive and extract with tar and compress
  16. echo adding a file with filetypes to the archive
  17. echo 
  18. echo syntax:
  19. echo !tarZ [directory]
  20. echo 
  21. echo where directory is the name of the directory, where !tarZ searches the data
  22. echo default: adfs:$
  23. echo 
  24. echo program overrides adfs:$.tarscrap !!!!
  25. echo
  26. echo copy the files or direcories to <tarZ$use>.files
  27. echo 
  28. echo copy the archive to <tarZ$use>.archive
  29. echo 
  30. echo archiving: doubleclick to !archive or say tarZ [archivename] on the commadline
  31. echo extracting: doubleclick to !extract or say untarZ on the commadline
  32. echo 
  33. echo compress needs 464K next memory and other programs 8K free memory 
  34. echo
  35. echo bugs: !stronged before Version 1.00 must not be loaded while using !tarZ 
  36. echo       cause !stronged before Version 1.00 causes bugs to compress
  37. wimpslot -min 464K
  38. *cdir <tarZ$use>.files
  39. *cdir <tarZ$use>.archive
  40. *unset tarZ$dir 
  41. *set tarZ$dir <obey$dir>
  42. *unset alias$tarZ 
  43. *setmacro alias$tarZ <tarZ$dir>.commands.!archive    
  44. *unset alias$untarZ 
  45. *set alias$untarZ <tarZ$dir>.commands.!extract
  46. <tarZ$dir>.do *Filer_OpenDir <tarZ$dir>.commands
  47. <tarZ$dir>.do *Filer_OpenDir <tarZ$use>.files
  48. <tarZ$dir>.do *Filer_OpenDir <tarZ$use>.archive
  49. |
  50. | realisation: MUFTI  ( zrzm0111@helpdesk.rus.uni-stuttgart.de )
  51. | spezial thanks to:
  52. |   Frank Lancaster  ( port of tar and compress (c) copyrights of port to him )
  53. |   Paul Moore       ( port of Gawk             (c) copyrights of port to him )
  54. |   the authors of the orginal UNIX-programms 
  55. |   the Author of do (Nicko van Someren ?)     
  56. |   the Author of pathname
  57. | who done the main work 
  58. |
  59. | bugs:
  60. |       compress produces corrupt archives, when !StrongED before V 1.00 by
  61. |       Guttorm ('Armstrong') Vik is on the iconbar.
  62. |       You get no WARNING !!!!!.
  63. |       This corrupt archive can't  be decompressed, if !StrongED is not on the
  64. |       iconbar.
  65. |       If you try to uncompress a valid archive when !StrongED before V 1.00 is
  66. |       on the Iconbar, this will fail.
  67. |       I don't know, if this is a error of !StrongED or a error of compress,
  68. |       but this only possible in a multitasking-operating-system that not uses
  69. |       memory-guard mechanisms ( like using the MEMC-Chip ).
  70. |
  71. | if you think, you know a solution to this problems, mail to me !
  72. |
  73. | !tarZ (without tar,compress and Gawk ( the rights of this software belongs to
  74. |    the authors ) is FREE-SOFTWARE
  75. | (if 128 lines of scripts, 83 lines of gawk-rules  can be called software... )
  76.